package Test04;

public class Person {
    String name;
    int age;
    public Person(){

    }
    public Person(String aName,int aAge){
        this.age=aAge;
        this.name=aName;
    }
    public void eat(){
        System.out.println("吃饭");
    }
    public void walk(int distance){
        System.out.println("走路"+distance+"km");
    }
}
